package com.logistica.metropolitana.web.controllers;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.logistica.metropolitana.common.web.BaseController;

@Controller
public class DummySecurityController extends BaseController{

	private final Logger logger = LoggerFactory.getLogger(DummySecurityController.class);
	
	@RequestMapping(value = "ajax/contabilidad", method = RequestMethod.GET)
	public String goContabilidad() {
		logger.info("Dentro Contabilidad");
		return "contabilidad";
	}
	
	@RequestMapping(value = "ajax/finanzas", method = RequestMethod.GET)
	public String goFinanzas() {
		logger.info("Dentro Finanzas");
		return "finanzas";
	}
}
